﻿#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
#endregion

namespace TheSpirit
{
    class WarningScreen : GameScreen
    {
        #region Declaration

        Texture2D WarningTexture;
        Rectangle position;
        String text;

        #endregion


        #region Initialize

        public WarningScreen()
        {
            IsPopup = true;
        }

        public override void LoadContent()
        {
            ContentManager content = ScreenManager.Game.Content;

            WarningTexture = content.Load<Texture2D>("Warning/Warning");
        }

        #endregion


        #region Update & Draw

        public override void HandleInput()
        {
            if (InputManager.IsLeftClicked())
                ExitScreen();
        }

        public override void Draw(GameTime gameTime)
        {
            Viewport viewport = ScreenManager.GraphicsDevice.Viewport;
            SpriteBatch spriteBatch = ScreenManager.SpriteBatch;

            spriteBatch.Begin();
            spriteBatch.Draw(WarningTexture, new Rectangle(100, 100, 120, 160), Color.White);
            spriteBatch.End();
        }

        #endregion
    }
}
